import server from './server';

export const systemAgreeList = (data) => { //协议列表
    return server.get('/agree/agree_list', {
        params: data
    })
}
export const systemAgree = (data) => { //获取协议
    return server.get('/agree/show', {
        params: data
    })
}


export const systemPosts = (data) => { //公告/交易指南 公告列表
    return server.get('/posts/posts_list', {
        params: data
    })
}


export const postsInfo = (data) => { //公告、资讯详情
    return server.get('/posts/show', {
        params: data
    })
}


export const news = (data) => { //行情资讯 资讯列表
    return server.get('/posts/blocks_msg', {
        params: data
    })
}


export const content = (data) => { //网站名称、邮箱、电话
    return server.get('/about/content', {
        params: data,
        // hideloading : true,
    })
}


export const slides = (data) => { //获取轮播
    return server.get('/slides/show', {
        params: data
    })
}


export const competitionlist = (data) => { //战队列表
    return server.get('/competition/list', {
        params: data
    })
}


export const competitionrule = (data) => { //合约大赛制度
    return server.get('/competition/rule', {
        params: data
    })
}
export const power = (data) => { //矿机列表
    return server.get('/mining/list', {
        params: data
    })
}

